<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateResumeTable extends Migration
{
    /**
     * Run the migrations.
     *industry_id  行业id
     * name 行业名称
     * img 图片
     * is_hot 是否是热门(1是2否)
     * order 排序
     * @return void
     */
    public function up()
    {
        Schema::create('resume', function (Blueprint $table) {
            $table->engine='InnoDB';
            $table->increments('industry_id');
            $table->string('name',50)->comment('姓名');
            $table->integer('time')->comment('时间');
            $table->tinyInteger('default')->comment('是否默认 1是2否');
            $table->string('native_place',50)->comment('籍贯');
            $table->string('birth',30)->comment('出生日期');
            $table->tinyInteger('political_outlook')->comment('1:党员2:无');
            $table->integer('industry')->comment('行业');
            $table->integer('working_time')->comment('工作时间');
            $table->integer('low')->comment('最低工资');  //最低工资
            $table->integer('high')->comment('最高工资');
            $table->text('self_evaluation')->comment('自我评价');

});
}

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('resume');
    }
}
